package gao.xiaolei.dao;

import gao.xiaolei.entity.ClassesProcessView;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.time.LocalDateTime;
import java.util.List;

@Repository("ClassesProcessViewDao")
public interface ClassesProcessViewDao extends JpaRepository<ClassesProcessView, String> {

    public List<ClassesProcessView> findAllByIsAutomaticAndEnterBeginTimeBeforeAndEnterEndTimeAfter(boolean isAutomatic, LocalDateTime enterBeginTIme, LocalDateTime enterEndTime);
}
